<section>
    <nav>
        <div class="container" *ngIf="types?.length">
            <div class="wrap" *ngFor="let type of types">
                <!-- <ion-slides pager="true">
                <ion-slide> -->
                <a class="link" [ngStyle]="{'width': aWidth}" *ngFor="let item of type" appDebounceClick (debounceClick)="jumpToPage(item)">
                    <figure>
                        <img *ngIf="item.iconUrl" [src]="item.iconUrl">
                        <img *ngIf="!item.iconUrl" src="https://via.placeholder.com/150">
                        <figcaption>{{item?.name}}</figcaption>
                    </figure>
                </a>
                <!-- </ion-slide>
            </ion-slides> -->
            </div>
            <!-- appDebounceClick (debounceClick)="jumpToPage(item)" -->
        </div>
        <img src="./assets/img/f4.svg" *ngIf="!types?.length" class="fl_back">
    </nav>
</section>